WpMatomo\Ecommerce\Woocommerce B

Total Complexity 77
Dependencies 2
Dependents 1
Total lines 438
Lines of code 301
Logical lines of code 167
Comment lines 58
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
on_cart_updated()
A
43 11 48
on_order()
A
41 10 60
get_product_details()
A
47 11 34
maybe_track_order_complete()
S
64 6 9
save_order_metadata()
S
60 5 13
on_order_status_change()
S
60 5 13
get_product_categories()
S
57 4 17
anonymise_orderid_in_url()
S
61 3 15
register_hooks()
S
53 2 24
get_order_meta()
S
66 3 8
get_product_id()
S
67 3 9
get_sku()
S
71 3 6
on_product_view()
S
60 2 14
on_cart_updated_safe()
S
67 2 8
on_coupon_updated_safe()
S
65 2 9
isOrderFromBackOffice()
S
77 2 3
isWC3()
S
72 1 5
has_order_been_tracked_already()
S
80 1 3
set_order_been_tracked()
S
80 1 3